<!DOCTYPE html>
<html>
<body>
<div>Test for Bugzilla bug:<a href="https://bugs.webkit.org/show_bug.cgi?id=84624"> 84624</a> LayoutBlockFlow incorrectly calculates pref width when a replaced object follows a LayoutInline with width.</div>
<div>This test verifies that the containing block grows in order to accommodate it's replaced child (image).</div>
<div style="width: 50px">
    <span style="float: left; border: 1px solid black;">
        <span style="padding-left: 30px;"><img width=50 height=50 src="resources/50x50.gif"/></span>
    </span>
</div>
</body>
</html>